import request from "@/utils/request";

//查询菜单列表
export function menuList() {
  return request({
    url: "/sys/menu/list",
    method: "get",
  });
}

//
export function saveAndUpate(data) {
  return request({
    url: "/sys/menu/saveAndUpate",
    method: "post",
    data
  });
}